home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 57 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: xs4all.nl!not-for-mail
  2. From: yrozijn@xs4all.nl (Yvon Rozijn)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Datatypes - Help!
  5. Date: 2 Jan 1996 15:55:36 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4cbkho$fij@news.xs4all.nl>
  8. References: <vreeland-0101961417240001@192.0.2.1>
  9. NNTP-Posting-Host: ztm03-04.dial.xs4all.nl
  10. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  11.  
  12. Robert W. Vreeland Jr. (vreeland@sfsu.edu) wrote:
  13. : Help!  I'm trying to load in and display a picture using datatypes.  The
  14. : picture is loaded in and decoded but I can't display it because I always
  15. : get a Bitmap pointer back of NULL.  What is wrong with this code?  (I can
  16. : display a test image just fine with multiview so I know the image and the
  17. : datatype are okay.  The problem has to lie in my code.)
  18. :    if (!DoMethodA(o,(Msg)&ilbm->dtf)) {
  19.           ^^^^^^^^^
  20.  
  21. :    if (!DoMethodA(o,(Msg)&ilbm->gpl)) {
  22.           ^^^^^^^^^
  23.  
  24. You should use DoDTMethod[A] ()
  25.  
  26. Yvon.
  27. -- 
  28.                  ___                                   _
  29.    Q          : |  #|           :  \|/  http://www. : [_]_
  30.  -<_>- Yvon   : | ==| yrozijn@  : >WWW< xs4all.nl/  : === ) Amiga
  31.   / \  Rozijn : `---' xs4all.nl :  /|\  ~yrozijn    :     O  4000
  32.